/*
 * Copyright (C) 2010-2014 Enrique Lara (enrique.posix2.lara@gmail.com)
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package trs.wmata;

import app.transittool.model.Stop;

import java.io.Serializable;

public final class TrainStationEntrance implements Stop, Serializable {
    private static final long serialVersionUID = 3442640100096756503L;
    private final Stop station;
    private final String name;
    private final double lat;
    private final double lon;

    public TrainStationEntrance(final Stop station, final String name, final double lat, final double lon) {
        super();
        this.station = station;
        this.name = name;
        this.lat = lat;
        this.lon = lon;
    }

    @Override
    public String getCode() {
        return station.getCode();
    }

    @Override
    public String getName() {
        return name;
    }

    @Override
    public double getLat() {
        return lat;
    }

    @Override
    public double getLon() {
        return lon;
    }

    @Override
    public String[] getRouteCodes() {
        return station.getRouteCodes();
    }

    @Override
    public String[] getRouteNames() {
        return station.getRouteNames();
    }

    @Override
    public boolean gotoView() {
        return station.gotoView();
    }

    @Override
    public boolean gotoViewNearbyStops() {
        return station.gotoViewNearbyStops();
    }
}
